﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrgAdmin.aspx.cs" Inherits="HealthSystem.OrgAdmin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="panle1" />
     <ext:Panel  runat="server" ID="panle1" Layout="Fit" Title="机构管理员">
     <Toolbars>
        <ext:Toolbar ID="Toolbar1" runat="server">
            <Items>
                <ext:Label Text="选择地区:" runat="server"></ext:Label>
                <ext:TriggerBox runat="server" ID="name" EnableEdit="false"></ext:TriggerBox>
                <%--<ext:TextBox runat="server" ID="name21" Readonly="true"></ext:TextBox>--%>
             <%--   <ext:Button runat="server" ID="disbt" Text="选择范围" EnablePostBack="false"></ext:Button>--%>
              <%--  <ext:TriggerBox runat="server" EnablePostBack="false" ID="searchbox" OnTriggerClick="SearchClick" TriggerIcon="Search"  Text="搜索"></ext:TriggerBox>--%>
                <ext:HiddenField runat="server" ID="districtid"></ext:HiddenField>
                <ext:HiddenField runat="server" ID="actionbt"></ext:HiddenField>
                <ext:TriggerBox runat="server" ID="searchbox" EmptyText="输入机构名称查询" TriggerIcon="Search" OnTriggerClick="Search_Clik"></ext:TriggerBox>
                <ext:ToolbarFill runat="server"></ext:ToolbarFill>
              <%--  <ext:Button runat="server" Text="新增机构" ID="Newbt"></ext:Button>--%>
                
            </Items>
        </ext:Toolbar>
    </Toolbars>
        <Items>
            <ext:Grid runat="server" ID="Gird1" DataKeyNames="OrgCode,OrgName" EnableTextSelection="true" AllowPaging="true" IsDatabasePaging="true" EnableRowNumber="true"
              ShowHeader="false" OnPageIndexChange="PageIndexChange">
                <Columns>
                   <%-- <ext:BoundField DataField="XX_UserName" HeaderText="账户" />--%>
                   <ext:BoundField DataField="OrgCode" HeaderText="机构编码" Width="150px" />
                    <ext:BoundField DataField="OrgName" HeaderText="机构名称" Width="150px" />
                    <ext:BoundField DataField="Address" HeaderText="机构地址" />
                    <ext:BoundField DataField="LinkMan" HeaderText="联络员" />
                    <ext:BoundField DataField="OfficePhone" HeaderText="联系电话" />
                    <ext:BoundField DataField="name1" HeaderText="所在城市" />
                    <ext:BoundField DataField="name" HeaderText="所在区县" />
                     <ext:WindowField ColumnID="my" Width="60px" WindowID="Window2" HeaderText="查看地图"
                Text="地图" ToolTip="地图" DataTextFormatString="{0}" DataIFrameUrlFields="OrgCode"
                DataIFrameUrlFormatString="~/map/webform1.aspx?skey={0}&stype=Org" DataWindowTitleField="OrgName"
                DataWindowTitleFormatString="地标 - {0}" />
                    <ext:WindowField ColumnID="myWindowField" Width="160px" WindowID="Window2" HeaderText="查看上报情况"
                Text="查看上报情况" ToolTip="查看上报情况" DataTextFormatString="{0}" DataIFrameUrlFields="OrgCode"
                DataIFrameUrlFormatString="MySchool.aspx?orgcode={0}" DataWindowTitleField="OrgName"
                DataWindowTitleFormatString="查看上传情况 - {0}"  />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" Title="地区选择" Popup="false" EnableIFrame="true" runat="server"
        EnableMaximize="true" EnableResize="true" Target="Parent" OnClose="Window1_Close"
        IsModal="True" Width="200px" Height="550px">
    </ext:Window>
    <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        EnableMaximize="true" EnableResize="true" Target="Parent" OnClose="Window1_Close"
        IsModal="True" Width="850px" Height="550px">
    </ext:Window>
    </form>
</body>
</html>
